feat: Migrate Jenkins pipeline to GitHub Actions CI/CD workflows#188
Open
devin-ai-integration[bot] wants to merge 1 commit intoDevOpsfrom
Open
feat: Migrate Jenkins pipeline to GitHub Actions CI/CD workflows#188devin-ai-integration[bot] wants to merge 1 commit intoDevOpsfrom
devin-ai-integration[bot] wants to merge 1 commit intoDevOpsfrom
Conversation
- Add CI workflow with build, Trivy scan, OWASP dependency check, SonarQube analysis, Docker build & push stages - Add CD workflow to update Kubernetes deployment manifest - Preserve all original pipeline stages and security scanning Co-Authored-By: vanessa.salas <vanessa.salas@cognition.ai>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrates the existing Jenkins CI and GitOps CD pipelines to GitHub Actions, preserving all original pipeline stages and functionality.
CI Workflow (
.github/workflows/ci.yml)Maps from
Jenkinsfile:actions/checkout@v4aquasecurity/trivy-action(fs scan)dependency-check/Dependency-Check_Actionwith HTML report uploadSonarSource/sonarqube-scan-action(conditional onSONAR_HOST_URLvar)SonarSource/sonarqube-quality-gate-actiondocker/build-push-actionwith Buildx + GHA cacheactions/github-scriptdispatches CD workflowCD Workflow (
.github/workflows/cd.yml)Maps from
GitOps/Jenkinsfile:sedto update image inkubernetes/bankapp-deployment.ymlgithub-actions[bot]Required GitHub Configuration
To fully enable the workflows, set these in the repo settings:
DOCKERHUB_TOKEN,SONAR_TOKEN(optional)DOCKERHUB_USERNAME,SONAR_HOST_URL(optional)Review & Testing Checklist for Human
DOCKERHUB_USERNAMEandDOCKERHUB_TOKENare configured in repo Settings > Secrets and variables > ActionsSONAR_TOKEN(secret) andSONAR_HOST_URL(variable)DevOpsbranchNotes
SONAR_HOST_URLis not configuredpushevents (not on PRs) to avoid unauthorized pushesDevOpsbranchcontinue-on-error: trueto match the non-blocking behavior of the original Jenkins pipelineLink to Devin session: https://app.devin.ai/sessions/6bb3af4d813241e9bb8201feb7453f3c
Requested by: @vanessasalas-cog
Devin Review